/*
 * @Author: error: git config user.name & please set dead value or install git
 * @Date: 2024-06-27 16:20:22
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2024-06-27 16:26:12
 * @FilePath: /资源库/src/router/index.tsx
 */
import { lazy } from "react";
import { RouterProvider, createBrowserRouter } from "react-router-dom";


const Home = lazy(() => import('@/Pages/Home/Home'))

const routes = [
    {
        path: '/',
        element: <Home />
    }
]


const router = createBrowserRouter(routes)
const Routes = () => <RouterProvider router={router} />

export default Routes